package com.songcha.library_business.bean.configuration

import com.google.gson.annotations.SerializedName

/*{
    "newestVersions":{
    "number":65535,
    "str":"1.0.0",
    "updateContent":"上线第一版",
    "package":"10M"
},
    "lowest":{
    "number":65535,
    "str":"1.0.0"
},
    "download":"http://xxxxx"
}*/
/*
data class AppVersionBean(val newestVersions:NewestVersionsBean,val lowest:LowestBean,@SerializedName("download") val downloadUrl:String,val showUpdate:Boolean=false) {
    data class NewestVersionsBean(@SerializedName("number") val versionCode:Int, @SerializedName("str") val versionName:String,
                                  val updateContent:String,@SerializedName("package") val packageSize:String){}

    data class LowestBean(@SerializedName("number") val versionCode:Int){

    }
}*/

data class AppVersionBean(val newestVersion:NewestVersionBean,val lowestVersion:LowestVersionBean,val showUpdate:Boolean=false) {
    data class NewestVersionBean(val versionCode:Int,val versionName:String,
                                  val updateContent:String,val packageSize:String,val downloadUrl:String){}

    data class LowestVersionBean(val versionCode:Int){

    }
}
